package com.example.web.bo;

import com.outstanding.framework.core.BObject;
import com.outstanding.framework.core.BaseEnum;

public enum Sex implements BObject, BaseEnum<Sex, String> {

	man("男人"), woman("女人");

	private Sex(String name) {
		this.name = name;
	}

	private String name;

	@Override
	public String getCode() {
		return this.name();
	}

	@Override
	public String getName() {
		return name;
	}
}
